I am trying to update system attributes by using modules properties and modify() function. but it's throwing DXL error. Example i am trying to update "Prefix" property for modules it gives me following error, even though I have RMCDA access on modules. -R-W- DXL: no access to modify attribute 'Prefix'. Please suggest me if their is any way to update the system attribute of module?
Jitendrapatil137 - Thu Jun 20 05:58:55 EDT 2013 |
Re: How to update system attribute of Modules You need to open the module for exclusive edit to modify attributes. You cannot do it via module properties. |
Re: How to update system attribute of Modules Tony_Goodman - Thu Jun 20 10:53:36 EDT 2013 You need to open the module for exclusive edit to modify attributes. You cannot do it via module properties.
This sample code worked for me when the Module was in exclusive mode.
Module m = current
print "Module: " name(m) "\n"
print "Prefix: " m."Prefix" "\n"
m."Prefix" = "NewValue"
print "Prefix: " m."Prefix" "\n"
------------------------------------
Output
------------------------------------
Module: testing
Prefix: OldValue
Prefix: NewValue
|